import { createApp } from 'vue'
import App from './App.vue'
import router from './router' //导入路由对象模块挂载
import { createPinia } from 'pinia' //导入挂载pinia
const pinia = createPinia()
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
pinia.use(piniaPluginPersistedstate)
import 'normalize.css' //导入normalize.css 浏览器样式初始化
import '@/assets/styles/common.less' //导入common.less 重置样式

import XtxUi from '@/components/index' //导入Vue插件机制模块 全局注册组件

const app = createApp(App)
app.use(XtxUi)
app.use(router)
app.use(pinia)
app.mount('#app')
